<template>
  <!--参赛作品-->
  <div class="home-background">
    <!--        头部-->
    <div class="header">
      <navbar class="home-nav">
        <div slot="left">
          <i class="el-icon-arrow-left back"></i>
        </div>
        <div slot="center">
          <el-button type="text" class="text"></el-button>
        </div>
        <div slot="right">
          <i class="el-icon-share top-icon"></i>
        </div>
      </navbar>
    </div>
    <div style="width: 100%;height: 49px"></div>
    <div class="work-content">
      <img src="../../../assets/img/12.jpg">
      <p>这幅油画是我画的向日葵，模仿了梵高的画风，创作不易，希望大家多多投票支持！</p>
      <i class="el-icon-medal">107</i>
    </div>
    <div class="comments">
      <div class="comment">
        <!--          应该和活动详情中类似-->
      </div>
    </div>
  </div>
</template>

<script>
import navbar from "../../../components/nav-bar/nav-bar"

    export default {
      name: "work-content",
      components:{
        navbar
      }
    }
</script>

<style scoped>
  .home-background{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #F2F2F2;
  }
  .header{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
  .home-nav{
    background-color: #B0E3FF;
    color: white;
    box-shadow: transparent;
    border: transparent;
  }
  .back{
    color: white;
    font-size: 25px;
    margin-top: 10px;
  }
  .text{
    color: white;
    font-size: 20px;
    margin-top: 2px;
  }
  .top-icon{
    color: white;
    font-size: 26px;
    margin-right: 5px;
    margin-top: 10px;
  }
  .work-content{
    width: 100%;
    height: auto;
    background-color: white;
  }
  .work-content img{
    width: 100%;
    height: auto;
  }
  .work-content p{
    margin: 10px 20px 10px 20px;
    font-size: 15px;
  }
  .work-content i{
    margin-left: 20px;
    font-size: 20px;
    color: #7f7f7f;
    padding-bottom: 20px;
  }
  .comment{
    width: 100%;
    height: auto;
  }
</style>
